def create_translator(voice_type):
    if voice_type == "baidu":
        from translate.baidu.baidu_translator import BaiduTranslator
        return BaiduTranslator
    raise RuntimeError